<?php


namespace app\api\validate;


class OperLog
{
    /**
     * @var string[] 验证规则
     */
    protected $rule = [
        'log_id' => 'require'
    ];

    /**
     * @var string[] 验证不同过的错误提示
     */
    protected $message = [
        'log_id.require' => '日志id不能为空!'
    ];

    /**
     * @var \string[][] 验证场景
     */
    protected $scene = [
        'detail' => ['log_id']
    ];
}